package com.jigsaw.demo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.Controller;

/**
 * Created by Jigsaw on 2016/2/1.
 */
@org.springframework.stereotype.Controller
public class TestController implements Controller {
    @RequestMapping(value = "/asd", method = RequestMethod.GET)
    public ModelAndView handleRequest(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws Exception {
        ModelAndView mav = new ModelAndView("asd");
        mav.addObject("mes", "akkakakak");
        return mav;
    }
}
